1 {include file="admin/_head.tpl" title="Grand livre" current="compta/exercices" body_id="rapport"}
4 <h2>{$config.nom_asso|escape}</h2>
5 <p>Exercice comptable {if $exercice.cloture}clôturé{else}en cours{/if} du
6 {$exercice.debut|date_fr:'d/m/Y'} au {$exercice.fin|date_fr:'d/m/Y'}, généré le {$cloture|date_fr:'d/m/Y'}</p>
9 {foreach from=$livre.classes key="classe" item="comptes"}
10 <h3>{$classe|get_nom_compte|escape}</h3>
12 {foreach from=$comptes item="compte" key="code"}
13 {foreach from=$compte.comptes item="souscompte" key="souscode"}
15 <caption><h4>{$souscode|escape} — {$souscode|get_nom_compte|escape}</h4></caption>
31 {foreach from=$souscompte.journal item="ligne"}
33 <td>{$ligne.date|date_fr:'d/m/Y'|escape}</td>
34 <th>{$ligne.libelle|escape}</th>
35 <td>{if $ligne.compte_debit == $souscode}{$ligne.montant|html_money}{/if}</td>
36 <td>{if $ligne.compte_credit == $souscode}{$ligne.montant|html_money}{/if}</td>
44 <td>{if $souscompte.debit > 0}{$souscompte.debit|html_money}{/if}</td>
45 <td>{if $souscompte.credit > 0}{$souscompte.credit|html_money}{/if}</td>
61 <th>{$code|get_nom_compte|escape}</th>
62 <td>{if $compte.total > 0}{$compte.total|abs|html_money}{/if}</td>
63 <td>{if $compte.total < 0}{$compte.total|abs|html_money}{/if}</td>
79 <td><strong>Total</strong></td>
81 <td>{$livre.debit|html_money}</td>
82 <td>{$livre.credit|html_money}</td>
87 <p class="help">Toutes les opérations sont libellées en {$config.monnaie|escape}.</p>
89 {include file="admin/_foot.tpl"}